package com.yong.ssj.db.dao.sys;

import java.util.List;
import java.util.Map;

import com.yong.ssj.db.dto.cost.CostMethodDto;
import com.yong.ssj.db.dto.customer.CustomerDto;
import com.yong.ssj.db.dto.sys.UserDto;



public interface IUserDao {
	public UserDto query(String username);
	public CustomerDto queryph(String customer_name);//用户端验证
	public int register(String customer_name,String customer_password);//用户注册
	public int zeng(long customer_id);//增加一个材料
	public int reset(String customer_name,String customer_password,long customer_id);//重置密码
	public int yanmima(String customer_password,long customer_id);//验证密码
	public int updatemima(String password1,long customer_id);//修改密码
	public int loginphyz(String customer_name);//验证手机号是否存在
	public List<Map<String, Object>> queryUser();//查询所有的客服用户
	public UserDto queryUser(long user_id);//根据id查询管理员资料
	public int add(UserDto vo);//新增一个管理员
	public int updateUser(UserDto vo);//修改一个管理员
	public List<Map<String, Object>> queryCost();//查询所有的消费方案
	public CostMethodDto updateCost(long cost_id);//查询要修改的消费方案
	public int updateCostDo(CostMethodDto dto);//修改借款方案
	public int addCost(CostMethodDto vo);//新增一个方案
}
